package com.songshuai.webapi.baseapi.dao;

import com.songshuai.webapi.baseapi.model.YixueBaseSchoolmasterSource;
import org.apache.ibatis.annotations.Param;
import org.springframework.security.access.method.P;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface YixueBaseSchoolmasterSourceMapper  {
    /**
     * 获取所有渠道信息
     * @return
     */
    List<YixueBaseSchoolmasterSource>selectAllChannels();

    /**
     * 根据sourceId获取渠道列表
     * @param sourceId
     * @return
     */
    YixueBaseSchoolmasterSource selectSourceById(@Param("sourceId") Integer sourceId);

    /**
     *
     * @param sourceIds
     * @return
     */
    List<YixueBaseSchoolmasterSource>selectSourceByIds(@Param("sourceIds") List<Integer>sourceIds);
}